package com.ruoyi.bantong.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 红包包组对象 bt_placecard_group
 * 
 * @author laohei
 * @date 2021-03-26
 */
public class BtPlacecardGroup extends BaseEntity
{
    private static final Long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String avatar;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 参加等级 */
    @Excel(name = "参加等级")
    private Integer level;

    /** 转换金额 */
    @Excel(name = "转换金额")
    private Integer convertMoney;

    /** 获得金豆  全部未中奖获得金豆 */
    @Excel(name = "获得金豆  全部未中奖获得金豆")
    private Integer gotBtBean;

    /** 获得奖券数量  中奖获得奖券数量 */
    @Excel(name = "获得奖券数量  中奖获得奖券数量")
    private Integer gotBtTicket;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setLevel(Integer level) 
    {
        this.level = level;
    }

    public Integer getLevel() 
    {
        return level;
    }
    public void setConvertMoney(Integer convertMoney) 
    {
        this.convertMoney = convertMoney;
    }

    public Integer getConvertMoney() 
    {
        return convertMoney;
    }
    public void setGotBtBean(Integer gotBtBean) 
    {
        this.gotBtBean = gotBtBean;
    }

    public Integer getGotBtBean() 
    {
        return gotBtBean;
    }
    public void setGotBtTicket(Integer gotBtTicket) 
    {
        this.gotBtTicket = gotBtTicket;
    }

    public Integer getGotBtTicket() 
    {
        return gotBtTicket;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("level", getLevel())
            .append("convertMoney", getConvertMoney())
            .append("gotBtBean", getGotBtBean())
            .append("gotBtTicket", getGotBtTicket())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
